# Paragraphs

A sequence of non-blank lines that cannot be interpreted as other kinds of blocks forms a paragraph (opens new window). The contents of the paragraph are the result of parsing the paragraph’s raw content as inlines. The paragraph’s raw content is formed by concatenating the lines and removing initial and final whitespace (opens new window).
A simple example with two paragraphs:

Example 189

Markdown HTML Demo
aaa

bbb

<p>aaa</p>
<p>bbb</p>

Paragraphs can contain multiple lines, but no blank lines:

Example 190

Markdown HTML Demo
aaa
bbb

ccc
ddd

<p>aaa
bbb</p>
<p>ccc
ddd</p>

Multiple blank lines between paragraph have no effect:

Example 191

Markdown HTML Demo
aaa


bbb

<p>aaa</p>
<p>bbb</p>

Leading spaces are skipped:

Example 192

Markdown HTML Demo
  aaa
 bbb

<p>aaa
bbb</p>

Lines after the first may be indented any amount, since indented code blocks cannot interrupt paragraphs.

Example 193

Markdown HTML Demo
aaa
             bbb
                                       ccc

<p>aaa
bbb
ccc</p>

However, the first line may be indented at most three spaces, or an indented code block will be triggered:

Example 194

Markdown HTML Demo
   aaa
bbb

<p>aaa
bbb</p>

Example 195

Markdown HTML Demo
    aaa
bbb

<pre><code>aaa
</code></pre>
<p>bbb</p>

Final spaces are stripped before inline parsing, so a paragraph that ends with two or more spaces will not end with a hard line break (opens new window):

Example 196

Markdown HTML Demo
aaa     
bbb     

<p>aaa<br />
bbb</p>